from flask import Flask

app = Flask(__name__)


@app.route('/')  # 路由
def hello_world():  # 视图函数
    return 'Hello World!'


@app.route('/index/')
def index():
    return 'index'


if __name__ == '__main__':
    app.run(host='0.0.0.0')

# WSGI : Python Web Server Gateway Interface